package
{
	import com.greensock.TweenLite;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageQuality;
	import flash.display.StageScaleMode;
	import flash.events.Event;
	
	import scene.SceneMap;
	import scene.map.analyster.SimpleMapAnalyster;
	
	[SWF(width="1253", height="643", backgroundColor="0x000000")]
	public class main extends Sprite
	{
		public function main()
		{
			super();
			
			addEventListener( Event.ADDED_TO_STAGE, init );
		}
		
		public function init( event:Event ):void
		{
			//初始化舞台参数
			initStage();
			
			
		}
		
		/**
		 * 舞台参数
		 */
		private function initStage():void
		{
			//stage.showDefaultContextMenu=false; //是否显示菜单
			stage.scaleMode = StageScaleMode.NO_SCALE; //缩放模式
			stage.align = StageAlign.TOP_LEFT; //左上
			stage.quality = StageQuality.BEST; //画面品质
			stage.stageFocusRect = false; //是否加亮焦点选项
			stage.tabChildren = false; //是否支持TAB键
			stage.frameRate = 40; //帧频	
			
		}
		
		
	}
}